<import src="../../component/component" />
<view class='addmini' >
    <image  src="../../image/shoucang.png" />
     <label>点击添加到桌面,下次进来更方便</label> 
</view>
<view class='floatView'>
    <image wx:if='{{toTop}}' class="edit" src="../../image/shequ/to-top.png" bindtap="turnPage"/>
    
</view>
 <login wx:if='{{showLogin}}' bindloginSuccess="onLoginSuccess" bindcannel='onCannel'></login>
<view>
    <!-- <button open-type='share'>分享</button> -->
   
    <!-- tbaar_tuijian -->
    <view class="tbaar_tuijian"> 
        <view>
        <view class="tj_left">
            <view>
               <image class='po-icon' src="../../image/position_icon.png" />
               <!-- <ssq-item bindmyevent="onMyEvent" item="{{item}}"></ssq-item> -->
               <label bindtap='turnCity'>{{item}}</label>
            </view>
            <image class='seach-icon'  src="../../image/home/seach.png" />
            <input type="" name="" value="{{searchMode}}"  bindinput="updateValue" placeholder="请输入型号或品牌"/>
            <label class='seach-button' bindtap='search'>搜索</label>
        </view>
        </view>
        <view class="tj_right">
            <text class='{{selectType=="0"?"active":""}}' bindtap='chooseType' data-type='0'>全部</text>
            <text class='{{selectType=="10"?"active":""}}' bindtap='chooseType' data-type='10'>塔吊</text>
            <text class='{{selectType=="20"?"active":""}}' bindtap='chooseType' data-type='20'>电梯</text>
        </view>
    </view>
    <navigator url="/pages/sendSheBei/sendSheBei" hover-class="navigator-hover">
    <view class='tuijian' wx:if='{{isShowAdd==1}}'>该城市暂无设备<label>去发布</label></view>
    </navigator>
    <view class='tuijian2'  wx:if='{{isShowAdd==1}}'> 为你推荐</view> 
   
    <product-list  bindloginerr='showLoading' wx:for="{{showList}}" wx:key="index" wx:for-item="item" item="{{item}}"></product-list>
    
    <view class='more' wx:if='{{showList.length>20}}'>{{moreText}}</view>
    
      
   


</view>


